<?php
echo"<pre>";
print_r($_POST);
if($_FILES['pic']['error']===UPLOAD_ERR_OK){
    $filename="./images/".$_FILES['pic']['name'];
    if(mov_uploaded_file($_FILES)['pic']['tmp_name'].$filename)
    echo"上传且移动成功";
    
}
}

?>